package com.xpgk.mvc.bcallVisit;

import java.util.HashMap;
import java.util.Map;

import com.jfinal.log.Log;
import com.xpgk.annotation.Service;
import com.xpgk.constant.ConstantRender;
import com.xpgk.dto.RenderBean;
import com.xpgk.mvc.base.BaseService;
import com.xpgk.mvc.bpropaganda.BpropagandaTrainingService;
import com.xpgk.mvc.intoPersonnel.IntoPersonnel;


@Service(name = BcallVisitService.serviceName)
public class BcallVisitService extends  BaseService{
	
	
	
	@SuppressWarnings("unused")
	private static final Log log = Log.getLog(BcallVisitService.class);
	public static final String serviceName = "bcallVisitService";
	
	/**
	 * 保存回访信息
	 * */
	public RenderBean  saveCallVisit(BcallVisit bcallVisit,String orgids)
	{	
	
		RenderBean result = new RenderBean();
		String  msg="";
		
			if(bcallVisit.save()){
				
				System.out.println("添加成功");
				msg=ConstantRender.render_success_code;
			
					}else{
				System.out.println("shibai ");
				msg="添加失败！";
			}
			result.getMap().put("msg", msg);
			return result;
		}
		
	
	
}
